package com.xuecheng.api.course;

import com.xuecheng.framework.domain.cms.response.CoursePreviewResult;
import com.xuecheng.framework.domain.course.ext.Courseview;
import com.xuecheng.framework.domain.course.ext.TeachplanNode;
import com.xuecheng.framework.domain.course.response.CoursePublishResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.ApiOperation;


public interface CourseControllerApi {
    @ApiOperation("课程计划查询")
    public TeachplanNode findTeachPlanList(String courseId);
    @ApiOperation("添加课程计划")
    public ResponseResult addCoursePic(String courseId,String pic);
    //删除课程图片
    @ApiOperation("删除课程图片")
    public ResponseResult deleteCoursePic(String courseid);

    @ApiOperation("课程发布")
    public CoursePublishResult publish(String id);
    @ApiOperation("课程预览")
    public CoursePublishResult preview(String id);
    @ApiOperation("课程视图查询")
    public Courseview courseview(String id);

};
